﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Cotrobaie
{
    public partial class Ban : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Mesaj.InnerHtml = "Ne pare rau, dar in ultimele 24 de ore ati avut mai mult de 20 de Login-uri esuate.<br />" +
                "Ip-ul <b>" + (HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"] != null ? HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"] : "dumneavoastra") +
                "</b> a fost banat pentru 48 de ore.<br/>In cazul in care s-a produs vre-o eroare va rugam <a href='http://cotrobaie.cjb.net//Contact.aspx' title='Contact'>contactati</a> administratorii site-ului.<br/><br/>" +
                "Va multumim,<br/>Echipa <a href='http://cotrobaie.cjb.net//' title='Cotrobaie.cjb.net'>Cotrobaie.cjb.net</a>";
        }

        protected void goHome(object sender, EventArgs e)
        {
            Response.Redirect("~/Home.aspx");
        }
    }
}